package com.ruoyi.zxjd.work.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 填报表单对象 work_form
 * 
 * @author lcc
 * @date 2021-02-04
 */
public class WorkForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 填报表单ID */
    private Long formId;

    /** 填报内容 */
    @Excel(name = "填报内容")
    private String formContent;

    /** 工作进度ID */
    @Excel(name = "工作进度ID")
    private Long progressId;

    /** 工作安排ID */
    @Excel(name = "工作安排ID")
    private Long arrangeId;

    /** 工作模型ID */
    @Excel(name = "工作模型ID")
    private Long templateId;

    public void setFormId(Long formId) 
    {
        this.formId = formId;
    }

    public Long getFormId() 
    {
        return formId;
    }
    public void setFormContent(String formContent) 
    {
        this.formContent = formContent;
    }

    public String getFormContent() 
    {
        return formContent;
    }
    public void setProgressId(Long progressId) 
    {
        this.progressId = progressId;
    }

    public Long getProgressId() 
    {
        return progressId;
    }
    public void setArrangeId(Long arrangeId) 
    {
        this.arrangeId = arrangeId;
    }

    public Long getArrangeId() 
    {
        return arrangeId;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("formId", getFormId())
            .append("formContent", getFormContent())
            .append("progressId", getProgressId())
            .append("arrangeId", getArrangeId())
            .append("templateId", getTemplateId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }

    public WorkForm(String formContent, Long progressId, Long arrangeId,Long templateId) {
        this.formContent = formContent;
        this.progressId = progressId;
        this.arrangeId = arrangeId;
        this.templateId = templateId;
    }

    public WorkForm() {
    }

}
